home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et3_0-a1.lha
/
et3
/
examples
/
filters
/
filter.C
next >
Wrap
C/C++ Source or Header
|
1992-05-20
|
310b
|
20 lines
#include "System.h"
#include "STREAMFILTERS/RLEFilter.h"
#include "STREAMFILTERS/HexFilter.h"
#include "CLib.h"
main(int, char **argv)
{
ETInit(argv);
OStream os("output");
os.Push(new HexEncoder);
os.Push(new RLEEncoder);
os << "aaaaabbbbbbcccccc";
os.Pop();
os.Pop();
}